using System.Collections;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;

public class UIStore : MonoBehaviour
{


    public void OnBuy()
    {
        StoreSystem.Instance.Buy();
        Debug.Log("买了");
    }
    public void OnBack()
    {
     StoreSystem.Instance.Close();
    }

}
